.\" Copyright (c) 1983 Regents of the University of California.
.\" All rights reserved.  The Berkeley software License Agreement
.\" specifies the terms and conditions for redistribution.
.\"
.\"	@(#)exit.3	6.2 (Berkeley) 5/12/86
.\"
.TH EXIT 3 "May 12, 1986"
.UC 5
.SH NAME
exit \- terminate a process after flushing any pending output
.SH SYNOPSIS
.nf
.ft B
exit(status)
int status;
.fi
.SH DESCRIPTION
.I Exit
terminates a process after calling the Standard I/O library
function
.I _cleanup
to flush any buffered output.
.I Exit
never returns.
.SH "SEE ALSO"
exit(2), intro(3)
